package spring.cloud.service.task.domain.executor;

import com.google.common.collect.Maps;
import lombok.Getter;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;

import java.util.Map;

@Slf4j
@Setter
@Getter
public class ExecutorTaskItemAssignInfo {

    private String executorId;

    private int totalLoadLevel;

    // key为taskId，value是分片item号列表
    private Map<String, String> taskIdToTaskItemIndexListMap = Maps.newHashMap();

    public ExecutorTaskItemAssignInfo(String executorId) {
        this.executorId = executorId;
    }


}
